class BedsController < ApplicationController

  def index
  end

  def new
  end

  def create
  end

  def edit
  end

  def update
    @bed = Bed.find(params[:id])
    
    @bed.update_attributes(params[:bed])
    
    debugger
    
    redirect_to agency_site_rooms_path(@bed.room.site.agency.id, @bed.room.site.id)
  end

  def destroy
  end
end
